sql join same table twice on same column

welcome to shbcf.ru